package com.bodgittandscarper.brokerhmi.model;


/**
 * Enum class specifying which GUI events that can be published. 
 * The view part of the GUI uses this class to send notifications about GUI changes. Also the view part can use this to receive
 * specific notifications. This is done through the {@link HMIModel}.
 * 
 * @author Morten Rummelhoff
 *
 */
public enum ObservableEvent {
	
	/**
	 * Event for notifying about a book record button change.
	 */
	LOCKRECORD_BUTTON_CHANGED,
	
	/**
	 * Event for notifying about selected record change.
	 */
	SELECT_RECORD_CHANGED,
	
	/**
	 * Event for notifying about status text changes.
	 */
	STATUS_TEXT_CHANGED,
	
	/**
	 * Event for notifying about selected record is locked by another user.
	 */
	SELECTED_RECORD_ALREADY_LOCKED;
}
